const mongoose = require("./db");

const bannerSchema = new mongoose.Schema({
    // 设定的集合的结构
    bannerId: {type:String},
    img: {type:String},
    alt: {type:String},
    title: {type:String},
    time: {type:Number}
})

module.exports = mongoose.model("banners", bannerSchema);

